﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Master/AdminMaster.Master" AutoEventWireup="true"
    CodeBehind="ChildUserInfo.aspx.cs" Inherits="HZ.DrugTrade.Web.Admin.ChildUserInfo"
    Title="无标题页" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="bodymenu">
        <ul>
            <li><a href="javascript:void(0);">子用户权限设置</a></li>
        </ul>
    </div>
    <div id="bodycon">
        <table class="style1">
            <tr>
                <td class="style2">
                    <asp:Label ID="lblChildUserId1" runat="server" Text="用户编号："></asp:Label>
                </td>
                <td id="lbl">
                    <asp:Label ID="lblChildUserId" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="lblChildUserName" runat="server" Text="用户名称："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="lblChildUserOperateRule" runat="server" Text="用户权限："></asp:Label>
                </td>
                <td>
                    <asp:GridView ID="gvwChildUserRule" runat="server" AutoGenerateColumns="False" 
                        Width="212px" DataKeyNames="OperatingRuleID">
                        <Columns>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    全选<input id="addTable_chkAll" name="chkAll" type="checkbox" onclick="SelectAllCheckboxes(this,'ctl00_ContentPlaceHolder1_gvwChildUserRule','addTable_chkAll'); " />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <input type="checkbox" name="checkbox1" id="checkbox1" value='<%#Eval("OperatingRuleID")%>'
                                        onclick="chkChecked(this,'ctl00_ContentPlaceHolder1_gvwChildUserRule','addTable_chkAll');" />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="OperatingRuleName" HeaderText="操作权限名称" ReadOnly="True" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </div>
    <div class="listctrl">
        <hz:HzButton ID="btnSave" runat="server" Text="保存设置" OnClick="btnSave_Click" OperateType="编辑" />
    </div>
</asp:Content>
